]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
Alt-F2: Avoid running programs multiple times
authorVadim Girlin <vadimgirlin@gmail.com>
Fri, 11 Mar 2011 15:42:20 +0000 (10:42 -0500)
committerOwen W. Taylor <otaylor@fishsoup.net>
Tue, 22 Mar 2011 00:50:08 +0000 (20:50 -0400)
Returning true from the event handler seems to avoid getting
duplicate return events; these duplicate events likely are
getting generated by IBus.

https://bugzilla.gnome.org/show_bug.cgi?id=644509

js/ui/runDialog.js

index f239ec821a46e3e7eeb3d07c81e9241b11a6b480..fdf6c4ed8cf144d1c3da5159d15cad3d1f8d61fe 100644 (file)
@@ -251,6 +251,7 @@ __proto__: ModalDialog.ModalDialog.prototype,
                     if (!this.pushModal())
                         this.close();
                 }
+                return true;
             }
             if (symbol == Clutter.Escape) {
                 this.close();